package com.ruoyi.doorcontrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门禁刷脸记录对象 th_face_records
 * 
 * @author zhang
 * @date 2024-07-20
 */
public class ThFaceRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 访客编号 */
    @Excel(name = "访客编号")
    private String employeeNo;

    /** 门禁id */
    @Excel(name = "门禁id")
    private Long controlId;

    /** 是否正常开门0正常时间内开门  1判断超时自动开门 */
    @Excel(name = "是否正常开门0正常时间内开门  1判断超时自动开门")
    private String status;

    /** 刷脸用户类型0访客1员工 */
    @Excel(name = "刷脸用户类型0访客1员工")
    private String userType;

    /** 图片 */
    //@Excel(name = "图片",cellType = Excel.ColumnType.IMAGE,width=55,height = 55,imgNum = 5)

    @Excel(name = "图片", readConverterExp = "$column.readConverterExp()")
    private String photo;

    /** 用户名称 */
    @Excel(name = "用户名称", readConverterExp = "$column.readConverterExp()")
    private String userName;

    private Integer pageNum;
    private Integer pageSize;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeNo(String employeeNo) 
    {
        this.employeeNo = employeeNo;
    }

    public String getEmployeeNo() 
    {
        return employeeNo;
    }
    public void setControlId(Long controlId) 
    {
        this.controlId = controlId;
    }

    public Long getControlId() 
    {
        return controlId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }


    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeNo", getEmployeeNo())
            .append("createTime", getCreateTime())
            .append("controlId", getControlId())
            .append("status", getStatus())
            .append("userType", getUserType())
            .append("photo", getPhoto())
            .append("userName", getUserName())
            .toString();
    }
}
